<?php
/**
 * @package WordPress
 * @subpackage APrints_Theme
 */
?>
 
<?php get_header(); ?>
<div id="content" >
    <?php if (have_posts()) : ?>
        <ul>
        <?php while (have_posts()) : the_post(); ?>
            <li class="opener" id="opener_<?php the_ID(); ?>">
                <a title="Click to read more"><?php the_author() ?> 
                (<?php the_time('F jS, Y') ?>).</a>
                <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a>. 
                <em><?php the_category(', ') ?></em>.
                <div class="excerpt" id="excerpt_<?php the_ID(); ?>"><?php the_excerpt() ?></div>
            </li>
        <?php endwhile; ?>
        </ul>
        
        <div class="navigation">
	    <div class="alignleft"><?php next_posts_link('&laquo; Older Entries') ?></div>
    	    <div class="alignright"><?php previous_posts_link('Newer Entries &raquo;') ?></div>
	</div>

    <?php else : ?>
        <h2 class="center">Not Found</h2>
            <p class="center">Sorry, but you are looking for something that isn't here.</p>
		<?php get_search_form(); ?>
    <?php endif; ?>
</div>
<?php get_footer(); ?>
